package com.leen.user.service.impl;

import com.leen.user.entity.YxUserLevel;
import com.leen.user.repository.YxUserLevelRepository;
import com.leen.user.service.YxUserLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class YxUserLevelServiceImpl extends CrudServiceImpl<YxUserLevel,Long> implements YxUserLevelService {
    private YxUserLevelRepository yxUserLevelRepository;

    @Autowired
    public void setYxUserLevelRepository(YxUserLevelRepository yxUserLevelRepository) {
        this.yxUserLevelRepository = yxUserLevelRepository;
        super.setCrudRepository(yxUserLevelRepository);
    }
}
